//
//  TempViewController.swift
//  Weibo
//
//  Created by 明丽 on 16/1/20.
//  Copyright © 2016年 明丽. All rights reserved.
//

import UIKit

class TempViewController: UIViewController {
    @objc private func push(){
    
    let temp = TempViewController()
        navigationController?.pushViewController(temp, animated: true)
    
    }
//    @objc private func back() {
//        navigationController?.popViewControllerAnimated(true)
//    }

    
    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = UIColor.whiteColor()
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "push", style:.Plain, target: self, action: "push")
    }

}
